package com.gxar.file.server.db.respository;

import com.gxar.file.server.db.model.ProductEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 文件目标
 *
 * @author Linsy
 * @version 1.0
 * @created 2023/7/8
 **/
@Repository
public interface ProductRepository extends JpaRepository<ProductEntity, Long> {

    ProductEntity findByNameAndChannel(String productName, Integer channel);
}